package com.tos.uc.dao;

import com.tos.uc.domain.TosMessageLogs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by yanfei on 2017/6/28.
 */
@Mapper
public interface ITosMessageLogsDao {
    int addMessageLog(TosMessageLogs messageLogs);
    /**
     * 短信校验
     *
     * @param mphone
     * @param code
     */
    TosMessageLogs checkCode(@Param("mphone") String mphone,
                             @Param("code") String code);
}
